package com.common.zxing;

import android.app.Activity;
import android.os.Handler;

import com.common.zxing.camera.CameraManager;
import com.common.zxing.view.ViewfinderView;
import com.google.zxing.Result;

public abstract class BaseActivity extends Activity {


    public abstract ViewfinderView getViewfinderView();

    public abstract CameraManager getCameraManager();

    public abstract Handler getHandler();

    //处理扫描结果
    public abstract void handleDecodeInternally(Result rawResult);

    public abstract void drawViewfinder();

    public abstract void playSound();


}
